package com.cmpan.networkdisk.service;

import com.cmpan.networkdisk.model.Dynamic;

import java.util.List;

/**
 * ClassName:DynamicService
 * Package:com.cmpan.networkdisk.service
 * Description:
 *
 * @Date:2020/7/19 13:32
 * @com.chuangmei
 */
public interface DynamicService {

    //传入对象插入数据
    int addDynamic(Dynamic dynamic);

    List<Dynamic> queryAll();
}
